import { Iparams } from '@/utils/interface'
import { request } from 'umi'

export const viewlist = () =>{
    return request('/sxpt/progress/selectClassPlan')
}
// 进度详细信息
export const selectClassPlanInit = (params:Iparams) =>{
    return request(`/sxpt/progress/selectClassPlanInit?classid=${params.classid}&classPlanid=${params.classPlanid}`)
}
export const classRank = (params:Iparams) =>{
    return request(`/sxpt/progress/classRank?classid=${params.classid}&classPlanid=${params.classPlanid}`)
}